const myVar = {
    value: "ABC"
}

console.log(myVar.value.toLowerCase?.())